<template>
  <div>
    <svg-icon :icon-class="'fullscreen'" @click="toggle" />
  </div>
</template>

<script setup>
import useAppStore from "@/store/modules/app";

const appStore = useAppStore();
const toggle = ()=>{
  appStore.setFullScreen(true)
}

</script>

<style lang='scss' scoped>
.screenfull-svg {
  display: inline-block;
  cursor: pointer;
  fill: #5a5e66;
  width: 20px;
  height: 20px;
  vertical-align: 10px;
}
</style>